package com.cskaoyan.utils;

public enum OrderStatus {

    ORDER_NOT_PAY (Constant.ORDER_NOT_PAY,"未付款"),
    ORDER_USER_CANCELLED(Constant.ORDER_USER_CANCELLED,"已取消"),
    ORDER_SYSTEM_CANCELLED(Constant.ORDER_SYSTEM_CANCELLED,"已取消(系统)"),
    ORDER_PAID(Constant.ORDER_PAID,"已付款"),
    ORDER_REFUND(Constant.ORDER_REFUND,"订单取消，退款中"),
    ORDER_REFUNDED(Constant.ORDER_REFUNDED,"已退款"),
    ORDER_SHIPPED(Constant.ORDER_SHIPPED,"已发货"),
    ORDER_USER_RECEIVING(Constant.ORDER_USER_RECEIVING,"已收货"),
    ORDER_SYSTEM_RECEIVING(Constant.ORDER_SYSTEM_RECEIVING,"已收货(系统)");

    OrderStatus(Short orderStatus, String orderStatusText) {
        this.orderStatus = orderStatus;
        this.orderStatusText = orderStatusText;
    }

    private Short orderStatus;

    private String orderStatusText;

    public Short getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Short orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getOrderStatusText() {
        return orderStatusText;
    }

    public void setOrderStatusText(String orderStatusText) {
        this.orderStatusText = orderStatusText;
    }
}
